F.2 [Attributes] Section

Summary

Defines the [Attributes] tag is found only in Firmware Volume INF files. This file is created by the tools and is an input to the GenFv utility. Refer to the document, "Intel(R) Platform Innovation Framework for EFI, Firmware Volume Block Specification" for more information on these values. This is an optional section.

Prototype

<attributes> ::= "[attributes]" <EOL>
                 <expression>

<expression> ::= ["EFI_READ_DISABLED_CAP" "=" <TrueFalse> <EOL>]
                 ["EFI_READ_ENABLED_CAP" "=" <TrueFalse> <EOL>]
                 ["EFI_READ_STATUS" "=" <TrueFalse> <EOL>]
                 ["EFI_WRITE_DISABLED_CAP" "=" <TrueFalse> <EOL>]
                 ["EFI_WRITE_ENABLED_CAP" "=" <TrueFalse> <EOL>]
                 ["EFI_WRITE_STATUS" "=" <TrueFalse> <EOL>]
                 ["EFI_LOCK_CAP" "=" <TrueFalse> <EOL>]
                 ["EFI_LOCK_STATUS" "=" <TrueFalse> <EOL>]
                 ["EFI_ERASE_POLARITY" "=" <ZeroOne> <EOL>]
                 ["EFI_STICK_WRITE" "=" <TrueFalse> <EOL>]
                 ["EFI_MEMORY_MAPPED" "=" <TrueFalse> <EOL>]
                 ["EFI_ALIGNMENT_CAP" "=" <TrueFalse> <EOL>]
                 ["EFI_ALIGNMENT_2" "=" <TrueFalse> <EOL>]
                 ["EFI_ALIGNMENT_4" "=" <TrueFalse> <EOL>]
                 ["EFI_ALIGNMENT_8" "=" <TrueFalse> <EOL>]
                 ["EFI_ALIGNMENT_16" "=" <TrueFalse> <EOL>]
                 ["EFI_ALIGNMENT_32" "=" <TrueFalse> <EOL>]
                 ["EFI_ALIGNMENT_64" "=" <TrueFalse> <EOL>]
                 ["EFI_ALIGNMENT_128" "=" <TrueFalse> <EOL>]
                 ["EFI_ALIGNMENT_256" "=" <TrueFalse> <EOL>]
                 ["EFI_ALIGNMENT_512" "=" <TrueFalse> <EOL>]
                 ["EFI_ALIGNMENT_1K" "=" <TrueFalse> <EOL>]
                 ["EFI_ALIGNMENT_2K" "=" <TrueFalse> <EOL>]
                 ["EFI_ALIGNMENT_4K" "=" <TrueFalse> <EOL>]
                 ["EFI_ALIGNMENT_8K" "=" <TrueFalse> <EOL>]
                 ["EFI_ALIGNMENT_16K" "=" <TrueFalse> <EOL>]
                 ["EFI_ALIGNMENT_32K" "=" <TrueFalse> <EOL>]
                 ["EFI_ALIGNMENT_64K" "=" <TrueFalse> <EOL>]
<TrueFalse>  ::= {<ZeroOne>} {<TF>}
<TF>         ::= {<True>} {<False>}
<True>       ::= {"TRUE"} {"True"} {"true"}
<False>      ::= {"FALSE"} {"False"} {"false"}
<ZeroOne>    ::= {"0"} {"1"}
<EOL>        ::= end of line

Example

[attributes]
  EFI_READ_DISABLED_CAP  = TRUE
  EFI_READ_ENABLED_CAP   = TRUE
  EFI_READ_STATUS        = TRUE
  EFI_WRITE_DISABLED_CAP = TRUE
  EFI_WRITE_ENABLED_CAP  = TRUE
  EFI_WRITE_STATUS       = TRUE
  EFI_LOCK_CAP           = TRUE
  EFI_LOCK_STATUS        = FALSE
  EFI_STICKY_WRITE       = TRUE
  EFI_MEMORY_MAPPED      = TRUE
  EFI_ERASE_POLARITY     = 1
  EFI_ALIGNMENT_CAP      = TRUE
  EFI_ALIGNMENT_2        = TRUE
  EFI_ALIGNMENT_4        = TRUE
  EFI_ALIGNMENT_8        = TRUE
  EFI_ALIGNMENT_16       = TRUE
  EFI_ALIGNMENT_32       = TRUE
  EFI_ALIGNMENT_64       = TRUE
  EFI_ALIGNMENT_128      = TRUE
  EFI_ALIGNMENT_256      = TRUE
  EFI_ALIGNMENT_512      = TRUE
  EFI_ALIGNMENT_1K       = TRUE
  EFI_ALIGNMENT_2K       = TRUE
  EFI_ALIGNMENT_4K       = TRUE
  EFI_ALIGNMENT_8K       = TRUE
  EFI_ALIGNMENT_16K      = TRUE
  EFI_ALIGNMENT_32K      = TRUE
  EFI_ALIGNMENT_64K      = TRUE